<?php $this->load->view('layout/header'); ?>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h3 class="page-title">旅游商品管理<small></small></h3>
            <?php echo breadcrumb(array('tourismgoods/grid' => '旅游产品')); ?>
        </div>
    </div>
    <?php echo execute_alert_message() ?>
    <div class="row-fluid">
        <div class="span12">
            <div class="portlet box green">
                <div class="portlet-title">
                    <div class="caption"><i class="icon-plus-sign"></i>属性：</div>
                    <div class="tools">
                        <a class="collapse" href="javascript:;"></a>
                        <a class="remove" href="javascript:;"></a>
                    </div>
                </div>
            </div>
            <table class="table table-striped table-bordered table-hover" id="sample_1">
                <thead class="flip-content">
                    <tr>
                        <th>规格id</th>
                        <th>属性名</th>
                        <th>规格值</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach ($resultObj->result() as $item) : ?>
                    <tr>
                        <td><?php echo $item->spec_id; ?></td>
                        <td><?php echo $item->attr_name ?></td>
                        <td><input type="text " class="m-wrap" spec_id="<?php echo $item->spec_id; ?>" value="<?php echo $item->attribute_value ?>"></td>
                        <td><a class="btn mini green updateupdate" href="javascript:;"><i class="icon-trash"></i>修改</a>
                        </td>
                    </tr>
                <?php endforeach; ?>
                </tbody>
            </table>
        </div>
    </div>
</div>
<?php $this->load->view('layout/footer');?>